package com.pz.dx.dxm.service;

import com.pz.dx.dxm.controller.vo.opinion.HandleOpinionReq;
import com.pz.dx.dxm.controller.vo.opinion.OpinionAddReq;
import com.pz.dx.dxm.controller.vo.opinion.OpinionListRes;
import com.pz.dx.dxm.entity.OpinionEntity;

import java.util.List;

public interface OpinionService {
    List<OpinionListRes> listOpinion(int model, Long opinionId, Long userId);

    void addOpinion(Long userId, OpinionAddReq req);

    OpinionEntity getOneOpinion(String opinionId);

    void handleOpinion(HandleOpinionReq req);
}
